package com.smbms.service.recruitmentservice.hire;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smbms.dao.recruitment.hire.InhireMapper;
import com.smbms.pojo.recruitment.Rt_Interview;
import com.smbms.pojo.recruitment.Rt_resume;

@Service
public class HireServiceImpl implements HireService{
	@Autowired
	private InhireMapper inhiremapper;
	
	@Override
	public Rt_Interview viewHire(Integer id) {
		// TODO Auto-generated method stub
		return inhiremapper.viewHire(id);
	}

	@Override
	public List<Rt_resume> getHireview() {
		// TODO Auto-generated method stub
		return inhiremapper.getHireview();
	}

	

	@Override
	public int countByIn() {
		// TODO Auto-generated method stub
		return inhiremapper.countByIn();
	}

	@Override
	public int countByResume() {
		// TODO Auto-generated method stub
		return inhiremapper.countByResume();
	}

	@Override
	public List<Rt_Interview> viewDate(Integer resumeId) {
		// TODO Auto-generated method stub
		return inhiremapper.viewDate(resumeId);
	}

	@Override
	public int UpdIn(Rt_Interview rn) {
		// TODO Auto-generated method stub
		return inhiremapper.UpdIn(rn);
	}

	@Override
	public int getresumeStateUpd(Integer id) {
		// TODO Auto-generated method stub
		return inhiremapper.getresumeStateUpd(id);
	}

	@Override
	public int[] getByresumeState() {
		// TODO Auto-generated method stub
		return inhiremapper.getByresumeState();
	}

	
	
}
